<template>
    <a-tabs v-model:activeKey="item.componentProps.activeKey" :hidden="item.componentProps.hidden"
        :style="item.componentProps.style">
        <a-tab-pane v-for="(tabItem, index) in item.children" :key="tabItem.key" :tab="tabItem.label">
            <slot name="content"></slot>
        </a-tab-pane>
    </a-tabs>
</template>

<script setup>
import { ref } from 'vue'

defineProps({
    item: {
        type: Object,
        required: true
    },
})

</script>

<style scoped>
</style>